/*
 *  $TEAM_NAME Space Trader
 */
package models;

import javax.swing.DefaultBoundedRangeModel;

/**
 * Health
 * @author twb
 * @version 1.0
 */
public class Health extends DefaultBoundedRangeModel{
	
	/**
	 * field
	 */
	private static final long serialVersionUID = 1L;
	
	/**
	 * no arg constructor
	 */
	public Health(){
		super.setValue(0);
	}
	
	/**
	 * Creates a new health model
	 * @param maxHealth
	 */
	public Health(int maxHealth){
		super(maxHealth, 0, 0, maxHealth);
		
	}
}
